package com.mtsmda.chapter3.initBlocks;

public class SmallInit {
	
	public static int staticVariable = 0;
	public int instanceVaribale = 0;
	
	static{
		System.out.println("before staticVariable " + staticVariable);
		staticVariable++;
		System.out.println("after staticVariable " + staticVariable);
	}
	
	{
		System.out.println("before instanceVaribale " + instanceVaribale);
		instanceVaribale++;
		System.out.println("after instanceVaribale " + instanceVaribale);
	}
	
	
	static{
		System.out.println("2 static init block");
	}
	
	{
		System.out.println("2 init block");
	}
}